package com.wwwarehouse.resource_center.bean.goods;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * @author Joseph on 2017/11/1.
 *         <p/>
 */

public class WebDataBean implements Parcelable {

    private List<String> categoryUkid;
    private List<String> itemUkid;
    private String index="" ;
    private String url="" ;
    private List<String> BusinessId;

    public List<String> getCategoryUkid() {
        return categoryUkid;
    }

    public void setCategoryUkid(List<String> categoryUkid) {
        this.categoryUkid = categoryUkid;
    }

    public List<String> getItemUkid() {
        return itemUkid;
    }

    public void setItemUkid(List<String> itemUkid) {
        this.itemUkid = itemUkid;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<String> getBusinessId() {
        return BusinessId;
    }

    public void setBusinessId(List<String> businessId) {
        BusinessId = businessId;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeStringList(this.categoryUkid);
        dest.writeStringList(this.itemUkid);
        dest.writeString(this.index);
        dest.writeString(this.url);
        dest.writeStringList(this.BusinessId);
    }

    public WebDataBean() {
    }

    protected WebDataBean(Parcel in) {
        this.categoryUkid = in.createStringArrayList();
        this.itemUkid = in.createStringArrayList();
        this.index = in.readString();
        this.url = in.readString();
        this.BusinessId = in.createStringArrayList();
    }

    public static final Parcelable.Creator<WebDataBean> CREATOR = new Parcelable.Creator<WebDataBean>() {
        @Override
        public WebDataBean createFromParcel(Parcel source) {
            return new WebDataBean(source);
        }

        @Override
        public WebDataBean[] newArray(int size) {
            return new WebDataBean[size];
        }
    };
}

